import axios from '../utils/http'
// 获取角色列表
export async function getSelectList() {
  const res = await axios.get('/api/cloud_device/list')
  if (res.success) {
    return res.data
  }
  return false
} 

export async function getTableList(params) {
  const res = await axios.post('/api/cloud_log/list', params)
  if (res.success) {
    return res.success
  }
  return false
}

export async function Delete(loglds) {
  const res = await axios.post(`/api/cloud_log/delete`, loglds)
  if (res.success) {
    return res.data
  }
  return false
}
